package com.hakim.wfb.customer.params.user;

import com.hkfs.fundamental.api.params.SessionParameter;
import org.hibernate.validator.constraints.NotBlank;


/**
 * <p>修改支付密码的参数</p>
 *
 * @author Created by walkman on 2017/7/5.
 */
public class SetTradePasswordParameter extends SessionParameter {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @NotBlank(message = "用户ID不能为空")
    private String userId;

    /**
     * 支付密码
     */
    @NotBlank(message = "请输入支付密码")
    private String tradePassword;

    /**
     * 确认支付密码
     */
    @NotBlank(message = "请再次输入支付密码")
    private String confirmTradePwd;

    public void setTradePassword(String tradePassword) {
        this.tradePassword = tradePassword;
    }

    public String getTradePassword() {
        return tradePassword;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getConfirmTradePwd() {
        return confirmTradePwd;
    }

    public void setConfirmTradePwd(String confirmTradePwd) {
        this.confirmTradePwd = confirmTradePwd;
    }
}